//
//  HomeViewController.swift
//  shaohuo_reconsitution
//
//  Created by mac on 2019/1/12.
//  Copyright © 2019 mac. All rights reserved.
//

import UIKit

class HomeViewController: UIViewController {
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.white
        
        let one = HomeViewController()
        one.title = "帮送"
        let two = HomeViewController()
        two.title = "帮买"
        let three = HomeViewController()
        three.title = "帮办"
        let vc = SegmentViewController.share.addChildView(viewControllers: [one,two,three])
        view.addSubview(vc.view)
        
    }


}

